@extends('admin.common.base-master')

@section('html-head')
    <link href="{{url('/vendor/tyupload/control/css/zyUpload.css')}}" type="text/css" rel="stylesheet" />
    <link href="{{url('css/jquery.form.css')}}" type="text/css" rel="stylesheet" />
    {{--<script src="{{url('/vendor/My97DatePicker/WdatePicker.js')}}"></script>--}}
    <script src="{{url('/js/lib/jquery.form.js')}}"></script>
@endsection

@section('html-body')
    <div id="content">
        <div id="cur-position">
            <span class="tit">当前位置：</span>
            <a href="#">意见反馈</a>
            <em>&gt;</em>
            <a href="#">反馈详情</a>
        </div>
        <!-- cur-position end -->

        <div class="gg-step2">
            <div class="list-wrap">
                <h2 class="head">
                    <span class="span1">反馈详情</span>
                </h2>
                <!-- list-text-box start -->
                <div class="list-text-box">
                    <div class="list-text">
                        <label class="tit">反馈标题：</label>
                        <div class="cont">
                            <p class="text">@if($feedback){{$feedback->title}}@endif</p>
                        </div>
                    </div>
                    <div class="list-text">
                        <label class="tit">反馈用户：</label>
                        <div class="cont">
                            <p class="text">@if($userinfo){{$userinfo->nickname}}@endif</p>
                        </div>
                    </div>

                    <div class="list-text">
                        <label class="tit">联系方式：</label>
                        <div class="cont">
                            <p class="text">@if($feedback){{$feedback->contact_way}}@endif</p>
                        </div>
                    </div>

                    <div class="list-text">
                        <label class="tit">反馈内容：</label>
                        <div class="cont">
                            @if($feedback){{$feedback->content}}@endif
                        </div>
                    </div>
                    <div class="list-text">
                        <label class="tit">反馈图片：</label>
                        <div class="cont">
                            @if(count($imgs))
                                @foreach($imgs as $img)
                                <a href="{{url("/api/file/image-show/")}}/{{$img->id}}"><img src="{{url("/api/file/image-show/")}}/{{$img->id}}?size=300px" /></a>
                                @endforeach
                            @endif
                        </div>
                    </div>
                </div>
                <!-- list-text-box end -->
            </div>
        </div>
    </div>
@endsection

